package de.mahosoftware.gwt.games.durak.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.user.client.ui.DockLayoutPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootLayoutPanel;

import de.mahosoftware.gwt.games.durak.client.view.Game;

public class Durak implements EntryPoint {
	Game game = new Game(Unit.PCT);

	@Override
	public void onModuleLoad() {
		DockLayoutPanel dlp = new DockLayoutPanel(Unit.PCT);
		dlp.addNorth(new Label("North"), 20);
		dlp.addWest(new Label("West"), 10);
		dlp.add(game);
//		RootLayoutPanel.get().add(dlp);
		RootLayoutPanel.get().add(game);
	}
	
	

}
